package com.bawei.movie.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 影片信息实体类
 * @author zhaoming.li
 *
 */
@TableName("tb_movie")
public class Movie {

	@TableId(type = IdType.AUTO)
	private Integer id;
	
	@TableField("name")
	private String name;
	
	@TableField("director")
	private String director;
	
	@TableField("price")
	private Integer price;
	
	@TableField("release_date")
	private Date releaseDate;
	
	@TableField("film_time")
	private Integer filmTime;
	
	@TableField("type")
	private String type;
	
	@TableField("decade")
	private Integer decade;
	
	@TableField("area")
	private String area;
	
	@TableField("status")
	private String status;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDirector() {
		return director;
	}

	public void setDirector(String director) {
		this.director = director;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Date getReleaseDate() {
		return releaseDate;
	}

	public void setReleaseDate(Date releaseDate) {
		this.releaseDate = releaseDate;
	}

	public Integer getFilmTime() {
		return filmTime;
	}

	public void setFilmTime(Integer filmTime) {
		this.filmTime = filmTime;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getDecade() {
		return decade;
	}

	public void setDecade(Integer decade) {
		this.decade = decade;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "Movie [id=" + id + ", name=" + name + ", director=" + director + ", price=" + price + ", releaseDate="
				+ releaseDate + ", filmTime=" + filmTime + ", type=" + type + ", decade=" + decade + ", area=" + area
				+ ", status=" + status + "]";
	}
	
	
	
}
